@import '../font/PingFangM.css';

body,
html {
  font-family: PingFangSC-Regular,PingFangM,sans-serif;
  background: #ffffff;
  height: 100%;
  width: 100%;
  overflow: scroll;
}

body {
  margin: 0;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
  -webkit-overflow-scrolling: touch;
  /* 滚动穿透插件配合 */
  &.modal-open {
    position: fixed;
    width: 100%;
  }
}
::-webkit-input-placeholder{
  font-family: PingFangSC-Regular,PingFangM,sans-serifs;
}

img {
  display: block;
  width: 100%;
}

#app {
  height: 100%;
  overflow-y: auto;
}

.store-picker-mask {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  tap-highlight-color: rgba(0, 0, 0, 0);
  // z-index: -1;
  -webkit-transition: opacity 400ms;
  transition: opacity 400ms;
}

.store-picker-mask-show {
  opacity: 1;
}

.vux-1px-b:after {
  border-bottom: 0 !important;
}

.vux-popup-header {
  background-color: #fff !important;
}

.scroller-mask {
  background: rgba(255,255,255,0) !important;
}

.vux-popup-dialog {
  background: #ffffff !important;
}

.scroller-indicator {
  background-color: rgba(0,0,0,.1) !important;
}

.vux-popup-header-left,
.vux-popup-header-right {
  width: 100px;
  color: #000000 !important;
  font-size: 12px;
  text-align: center;
}
.storepicker-header {
  padding-left: 24px;
  padding-right: 18px;
  box-sizing: border-box;
  height: 54px;
  border-bottom: 1px solid #eaeaea;
  > * {
    display: block;
  }

  .close-i {
    margin-top: 3px;
    &:after,
    &:before {
      content: "";
      display: inline-block;
      height: 18px;
      width: 2px;
      background: #999;
      transform: translateX(-2px) rotate(45deg);
    }
    &:before {
      transform: translateX(0) rotate(-45deg);
    }
  }

  .close-img {
    width: 16px;
  }

  .tt {
    font-size: 14px;
    color: #666;
  }
}

.storepicker-list {
  padding: 24px;
  max-height: 410px;
  min-height: 280px;
  overflow-y: auto;
  box-sizing: border-box;

  .item {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eee;
    box-sizing: border-box;

    p {
      text-align: left;
    }

    .select {
      width: 20px;
      height: 20px;
      border: 1px solid #b5b5b5;
      margin-right: 18px;
      box-sizing: border-box;

      > .active {
        display: none;
        width: 10px;
        height: 10px;
        background-color: #000;
        margin: 0 auto;
      }
    }

    .select-active {
      > .active {
        display: block;
      }
    }

    .store-content-sc {
      flex: 1;
      word-wrap: break-word;
      word-break: break-all;
    }

    .store-name {
      font-size: 16px;
      color: #000;
      margin-bottom: 12px;
    }
    .store-address {
      font-size: 14px;
      color: #666;
    }
  }

  .item:last-child {
    margin-bottom: 0;
  }
}